<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
                margin: 0;
                padding: 0;
            }

            .divClass {
                border: 100px solid #000;
                border-color: white white black black;  
                width: 0;
                height: 0;
                border-radius: 50%;
                position: absolute;
                top: 100px;
                left: 100px;
                transform-origin: 50% 50%;
                transform: rotate(0deg);
                transition: all 3S;       
            }
            .divClass:before {
                content: "";
                position: absolute;
                top: -85px;
                left: -85px;
                width: 100px;
                height: 100px;
                background-color: black;
                border-radius: 100%;
            }
            .divClass:after {
                content: "";
                position: absolute;
                top: -15px;
                left: -14px;
                width: 100px;
                height: 100px;
                background-color: white;
                border-radius: 100%;
            }
            .divClass:hover{
                transform: rotate(1080deg);
            }
            .left{
                background-color:white;
                width:50px;
                height: 50px;
                position: relative;
                border-radius: 100%;
                top: -65px;
                left: -65px;
            }
            .right{
                background-color:black;
                width:50px;
                height: 50px;
                position: relative;
                border-radius: 100%;
                top: -40px;
                left: 15px;
                z-index: 1;    
            }
    </style>
</head>
<body>
    <div id="" class="divClass">
        <div id="" class="left">
        </div>
        <div id="" class="right">
        </div>
    </div>
</body>
</html>